#!/bin/sh

for directorio in `ls -d tp1*`; \
do \
	cd "$directorio"; \
	if [ ! -e "Makefile" ]
	then
		ln -s ../Makefile Makefile
	fi
	
	if [ ! -e "utils" ]
	then
		ln -s ../utils utils
	fi

	if [ ! -e "ipc" ]
	then
		ln -s ../ipc ipc
	fi
	cd ..; \
done

